package com.zhongwang.mms.module.buy.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 项目计划明细模态框 model
 * @Author: China.kxx
 * @Date: 2020/04/23 11:27
 */
@Data
public class PlanDetailsOpenModel {
    private Integer id;
    private Integer rppId;
    private String rppMatDesc;
    private Double rppNum;
    private String matName;
    private String rppUnit;
    private String rppProjectCode;
    private String rppProjectName;
    private String rppStandardNo;
    private String rppPlanner;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rppCreateTime;
    private String rppPlanNo;
    private String sppProjectCode;
    private String sppProjectName;
    private Double num;
    private String cg;

    /**h：半成品库，m:原料库，p外购件库*/
    private String site;
    private Integer factoryName;
    private String odaProCode;
    private String odaProName;
    private String odaSapCode;
    private String odaMatDesc;
    private Double odaNum;
    private String sppTrackCode;
    private String odaSpec;
    private String postscript;
    private String comment;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date odrDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
    private String odrTakePerson;
    private String depName;
    private String ceoItyType;
    private Integer type;
    private String code;
    private String name;
    private String tail;
    private String material;
    private Double weight;
    private String person;
    private String explain;
    private String workshop;
    private String sapCode;
    /**采购变更记录表*/
    private Integer spcSppId;
    /**采购变更物料编码*/
    private String spcMatCode;
    /**采购变更物料描述*/
    private String spcMatDesc;
    /**采购变更前数量*/
    private Double spcNum;
    /**采购变更后数量*/
    private Double spcNewNum;
    /**采购变更单位*/
    private String spcUnit;
    /**采购变更导出状态 0删除、1未导出、2已导出*/
    private Integer spcImportStatus;
    /**采购变更原因 1数量变更、2名称变更*/
    private Integer spcChangeFlag;
    /**采购变更日期*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date spcPlanDate;
    private Integer rpcId;

    private String rpcTrackCode;

    private String rpcMatCode;

    private String rpcMatDesc;

    private Double rpcNum;

    private Double rpcRealNum;

    private Double rpcOverNum;

    private String rpcUnit;

    private String rpcStandardNo;

    private String rpcBrand;

    private String rpcRemark;

    private String rpcProjectName;

    private String rpcProjectCode;

    private String rpcPart;

    private Integer rpcTypeId;

    private String rpcDesigner;

    private String rpcTel;

    private String rpcPlanner;

    private Integer rpcRppId;

    private String rpcNewMatCode;

    private String rpcNewMatDesc;

    private Double rpcNewNum;

    private Double rpcNewRealNum;

    private Double rpcNewOverNum;

    private String rpcNewUnit;

    private String rpcNewStandardNo;

    private String rpcNewBrand;

    private String rpcNewRemark;

    private String rpcNewProjectName;

    private String rpcNewProjectCode;

    private String rpcNewPart;

    private Integer rpcNewTypeId;

    private String rpcNewDesigner;

    private String rpcNewTel;

    private String rpcNewPlanner;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rpcChangeTime;

    private String rpcReason;
    private String whiName;
    private Double ityAvaNum;
}
